package it.uniroma1.nlp.cablegate;

import java.io.IOException;

import edu.stanford.nlp.pipeline.StanfordCoreNLP;

public class Test{

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		//String arguments= "-annotators tokenize,ssplit,pos,lemma,ner,parse,dcoref -filelist ./filelist/filelist.txt -outputDirectory ./annotated";
		String arguments= "-annotators tokenize,ssplit,pos,lemma,ner -filelist ./filelist/filelist.txt -outputDirectory ./annotated";
		String[] commArgs=arguments.split(" ");
		try {
			StanfordCoreNLP.main(commArgs);
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (ClassNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}

}
